package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.parenting.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 消费者个人信息
 * </p>
 *
 * @author zcj
 * @since 2021-05-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("parenting_shopper")
@ApiModel(value = "Shopper对象", description = "消费者个人信息")
public class Shopper extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "匿名")
    @TableField("NICKNAME")
    private String nickname;

    @ApiModelProperty(value = "头像")
    @TableField("IMG_URL")
    private String imgUrl;

    @ApiModelProperty(value = "手机号")
    @TableField("MOBILE")
    private String mobile;

    @ApiModelProperty(value = "账号ID")
    @TableField("ACCOUNT_NUM")
    private Integer accountNum;

    @ApiModelProperty(value = "微信的openID")
    @TableField("OPEN_ID")
    private String openId;

    @ApiModelProperty(value = "session_key")
    @TableField("SESSION_KEY")
    private String sessionKey;

    @ApiModelProperty(value = "性别")
    @TableField("SEX")
    private String sex;

    @ApiModelProperty(value = "生日")
    @TableField("BIRTHDAY")
    private LocalDate birthday;

    @ApiModelProperty(value = "家庭成员状态")
    @TableField("FAMILY_STATUS")
    private String familyStatus;

    @ApiModelProperty(value = "标签1")
    @TableField("LABLE_ONE")
    private String lableOne;

    @ApiModelProperty(value = "标签2")
    @TableField("LABLE_TWO")
    private String lableTwo;

    @ApiModelProperty(value = "标签3")
    @TableField("LABLE_THREE")
    private String lableThree;

    @ApiModelProperty(value = "标签4")
    @TableField("LABLE_FOUR")
    private String lableFour;

    @ApiModelProperty(value = "标签5")
    @TableField("LABLE_FIVE")
    private String lableFive;

    @ApiModelProperty(value = "标签6")
    @TableField("LABLE_SIX")
    private String lableSix;

    @ApiModelProperty(value = "个人说明")
    @TableField("USER_DESC")
    private String userDesc;

    @ApiModelProperty(value = "认证状态 0:未认证1:认证中2：已认证")
    @TableField("CERT_STATUS")
    private Integer certStatus;

    @ApiModelProperty(value = "关注人数")
    @TableField("CONCREN_NUM")
    private Integer concrenNum;

    @ApiModelProperty(value = "粉丝人数")
    @TableField("LIKE_NUM")
    private Integer likeNum;

    @ApiModelProperty(value = "金币数")
    @TableField("GOLD_NUM")
    private BigDecimal goldNum;


}
